Contains Method (KeyValuePair)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines if this dictionary contains the given key and all of the values associated with that key..

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public override bool Contains(
	KeyValuePair<TKey, ICollection<TValue>> pair
)
Visual Basic (Declaration)
Public Overrides Function Contains ( _
	pair As KeyValuePair(Of TKey, ICollection(Of TValue)) _
) As Boolean
Visual C++
public:
virtual bool Contains (
	KeyValuePair<TKey, ICollection<TValue>^> pair
) override

Parameters

pair
KeyValuePair<(Of <TKey, ICollection<(Of <TValue>)>>)>
A key and collection of values to search for.

Return Value

True if the dictionary has associated all of the values in pair.Value with pair.Key.

See Also